Skip to main content

Claude Desktop (Code Mode)

Claude Desktop’s Code Mode is Claude Code running within the desktop application, providing the same CLI capabilities in a graphical environment.

System Information

Product: Claude Code (Desktop App - Code Mode)
Captured: February 21, 2026
Model: Claude Opus 4.6 (claude-opus-4-6)
Platform: Claude Agent SDK

System Identity

The system prompt is nearly identical to the standalone Claude Code CLI, with the same tools, behavioral guidelines, and task management features.

Key Features

Task Management with TodoWrite

Identical to Claude Code CLI:
Critical Rule:

Professional Objectivity

Same truthfulness-first approach:

No Time Estimates Policy

Coding Best Practices

Minimal Changes Philosophy

Avoid over-engineering:
  • Only make changes that are directly requested or clearly necessary
  • Keep solutions simple and focused
  • Don’t add features, refactor code, or make “improvements” beyond what was asked
  • A bug fix doesn’t need surrounding code cleaned up
  • Don’t add docstrings, comments, or type annotations to code you didn’t change

No Backwards-Compatibility Hacks

Tool Usage

Task Tool for Exploration

Examples:

Specialized Tools Preference

Parallel vs Sequential Execution

Maximize use of parallel tool calls where possible to increase efficiency.

Skill Tool Usage

User Interaction

AskUserQuestion Tool

Hooks Configuration

Users may configure ‘hooks’ - shell commands that execute in response to events like tool calls, in settings.

Tone and Communication

CLI-Optimized Output

File Creation Restraint

No Emoji Policy

Security Requirements

Vulnerability Prevention

Authorized Security Testing

Code References

Provide navigable code locations:
Example:

Environment Context

The prompt includes dynamic environment information:

Model Information

Claude Background Info:
The most recent frontier Claude model is Claude Opus 4.6 (model ID: ‘claude-opus-4-6’).

Fast Mode

Help and Support

Context Management

Task Workflow Example


Claude Desktop’s Code Mode provides the exact same Claude Code experience as the CLI, just wrapped in a desktop application interface. All features, tools, and guidelines are identical.